package com.example.bidding.mapper;


import com.example.common.base.BaseMapper;
import com.example.common.entity.PageParam;
import com.example.common.pojo.Borrow;

import java.util.List;

public interface BorrowMapper extends BaseMapper<Borrow> {
    List<Borrow> selectByTerm(PageParam pageParam);

    List<Borrow> selectBorrowByUserId(Integer userId);

    List<Borrow> getBorrowListByUserId(Integer userId);
}
